package com.gang.mars.aop.proxy.springproxy.methodadvice;

import org.aopalliance.aop.Advice;
import org.springframework.aop.Pointcut;

/**
 * 类说明：gang.chen springboot深度实践
 *
 * @author gang.chen
 * @since 2022/5/15
 */
public class GangPointcutAdvisorIml implements GangPointCutAdvisor {
    @Override
    public Pointcut getPointcut() {
        return new GangStaticMethodMatherPointcut();
    }

    @Override
    public Advice getAdvice() {
        return new GangMethodBeforeAdviceImpl();
    }

    @Override
    public boolean isPerInstance() {
        return false;
    }
}
